package com.tvpush.manage.core.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ouyangzn
 * @since 2019-03-22
 */
@Data
@Accessors(chain = true)
@TableName("tp_template")
public class Template extends Model<Template> {

    private static final long serialVersionUID = 1L;

    /**
     * 标识
     */
    private Integer id;
    /**
     * 模板ID
     */
    @TableField("template_id")
    private Integer templateId;
    /**
     * 模板名称
     */
    @TableField("template_name")
    private String templateName;
    /**
     * 备注
     */
    private String remark;


    public static final String ID = "id";

    public static final String TEMPLATE_ID = "template_id";

    public static final String TEMPLATE_NAME = "template_name";

    public static final String REMARK = "remark";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
